package com.kgis.kp.jdbctemplate.core;

import java.util.List;

import org.springframework.jdbc.core.SqlParameter;

/**
 * <bean id="storedProcedureParam"
 * class="com.gxlu.platform.dao.param.StoredProcedureParam"> <property
 * name="callString"><value>callString</value></property> <property
 * name="declareParameters"> <list> <bean
 * class="org.springframework.jdbc.core.SqlParameter"> <constructor-arg
 * index="0"><value>SqlParameter1</value></constructor-arg> <constructor-arg
 * index="1"> <bean
 * class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean">
 * <property name="staticField"><value>java.sql.Types.VARCHAR</value></property>
 * </bean> </constructor-arg> </bean> <bean
 * class="org.springframework.jdbc.core.SqlOutParameter"> <constructor-arg
 * index="0"><value>SqlParameter2</value></constructor-arg> <constructor-arg
 * index="1"> <bean
 * class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean">
 * <property
 * name="staticField"><value>oracle.jdbc.OracleTypes.CURSOR</value></property>
 * </bean> </constructor-arg> </bean> </list> </property> </bean>
 * 
 * @author zhxiaomiao
 * 
 */
public class StoredProcedureParam {
	// defines non-transient non-serializable instance field declareParameters
	// implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -6437406077689492707L;

	private String callString;

	private List<SqlParameter> declareParameters;

	/**
	 * @return Returns the callString.
	 */
	public String getCallString() {
		return callString;
	}

	/**
	 * @param callString
	 *            The callString to set.
	 */
	public void setCallString(String callString) {
		this.callString = callString;
	}

	/**
	 * @return Returns the declareParameters.
	 */
	public List<SqlParameter> getDeclareParameters() {
		return declareParameters;
	}

	/**
	 * @param declareParameters
	 *            The declareParameters to set.
	 */
	public void setDeclareParameters(List<SqlParameter> declareParameters) {
		this.declareParameters = declareParameters;
	}

}
